mir: Handle pointer up/down events without a button mask set (i.e. touch events)
authorRobert Ancell <robert.ancell@canonical.com>
Wed, 5 Nov 2014 22:12:18 +0000 (11:12 +1300)
committerRobert Ancell <robert.ancell@canonical.com>
Wed, 5 Nov 2014 22:15:52 +0000 (11:15 +1300)
commit053b65a21af312b8b9361367939a221aa7f474a7
tree7ffe33fe865210048f612a12f14d7c99b26e3f3b
parentfdc01f80afcc1b1b13f9be2eb25847c0887117c0
mir: Handle pointer up/down events without a button mask set (i.e. touch events)

The Mir backend was checking for button mask changes to generate the appropriate
GDK event. When Mir generates a touch event it has no button mask. In this case
we'll just generate a primary button event.
gdk/mir/gdkmireventsource.c